package com.jd.org.mapper;

import com.jd.basic.vo.EchartVo;
import com.jd.org.domain.Shop;
import com.jd.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String name);

    int insertList(List<Shop> list);

    List<EchartVo> echart();

    void addEmpAndRole(@Param("empId") Long empId, @Param("roleId") Long roleId);
}
